<h3>Action shop:order</h3>

<p class="description">The shop:order action is designed for creating the Order Details page. The action loads an order object with an identifier specified in the page URL.</p>

<p class="description">Please note that the action requires a logged in customer, so a page, the action is assigned to, must has the <strong>Customers Only</strong> security mode enabled.</p>

<h4 class="separated">Variables</h4>
<ul>
	<li><strong>$order</strong> - an order object, loaded from the database. An object of the <a href="http://lemonstandapp.com/wiki/class_shop_order" target="_blank">Shop_Order class</a>. The value of the variable can be NULL if the order, specified in the URL, was not found.</li>
	<li><strong>$items</strong> – a list of order items. An object of the <a href="http://lemonstandapp.com/wiki/class_db_datacollection" target="_blank">Db_DataCollection class.</a> Each element of the collection is an object of the <a href="http://lemonstandapp.com/wiki/class_shop_orderitem" target="_blank">Shop_OrderItem class</a>. This variable exists only in case if the requested order was found in the database.</li>
</ul>

<p class="description"><a href="http://lemonstandapp.com/wiki/action_shop_order/" target="_blank">Read more...</a></p>